﻿using System.Collections.Generic;
/// <summary>
/// 更新字段值接口
/// </summary>
namespace PageAdmin.Utils.BLL
{
    /// <summary>
    /// 更新数据列表字段接口，如列表页更新State,Idx等字段值
    /// </summary>
    public interface ISetField
    {
        /// <summary>
        /// 可设置的字段数组
        /// </summary>
        HashSet<string> CanSetFieldList { get; set; }

        /// <summary>
        /// 批量设置字段值
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="tModelList"></param>
        /// <param name="setField"></param>
        /// <returns></returns>
        TipsInfo SetListField<T>(string setField,dynamic setValue, IEnumerable<int> idList) where T : class, new();

    }
}